<%@ Page Language="C#" MasterPageFile="~/MasterPages/Grey/Grey.Master" AutoEventWireup="true"
    Title="<%$ Resources:GlobalResource,DefaultPageTitle %>" CodeBehind="default.aspx.cs"
    Inherits="mmq._default" Theme="Grey" %>

<%@ Register Src="UserControls/HeaderMenu.ascx" TagName="HeaderMenu" TagPrefix="uc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="Left" runat="server">
    <asp:SqlDataSource ID="sqlDSMainPage" runat="server" ConnectionString="<%$ ConnectionStrings:AC_DBConnectionString %>"
        SelectCommand="SELECT * FROM [AC_PageContent] WHERE (([ContentKey] = @ContentKey) AND ([LanguageKey] = @LanguageKey))">
        <SelectParameters>
            <asp:Parameter DefaultValue="MainPage" Name="ContentKey" Type="String" />
            <asp:ProfileParameter DefaultValue="en-US" Name="LanguageKey" PropertyName="PreferredCulture"
                Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
    <asp:Repeater ID="MainPage" runat="server" DataSourceID="sqlDSMainPage">
        <ItemTemplate>
            <h2>
                <%# DataBinder.Eval(Container.DataItem, "Title")%>
            </h2>
            <p>
                <%# DataBinder.Eval(Container.DataItem, "Description")%>
            </p>
        </ItemTemplate>
    </asp:Repeater>
</asp:Content>
<asp:Content ContentPlaceHolderID="navigation" runat="server">
    <uc1:HeaderMenu ID="HeaderMenu1" runat="server" SelectedTab="Home" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="Right" runat="server">
    <asp:SiteMapDataSource ID="Default" ShowStartingNode="false" runat="server" />
    <asp:TreeView ID="TreeView1" runat="server" DataSourceID="Default" BackColor="White"
        BorderColor="White" EnableViewState="False" Width="100px">
        <NodeStyle BackColor="#FFC0C0" BorderColor="#FFFFC0" />
    </asp:TreeView>
    <asp:Menu ID="Menu1" runat="server" DataSourceID="Default">
    </asp:Menu>
</asp:Content>

